package com.lyncs.ods.modules.setting.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author alex
 * @since 2022-07-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cms_text")
@ApiModel(value = "CmsText对象", description = "")
public class CmsText implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("key")
    @TableField("`key`")
    private String key;

    @ApiModelProperty("简体中文")
    @TableField("zh_cn")
    private String zhCn;

    @ApiModelProperty("香港繁体")
    @TableField("zh_hk")
    private String zhHk;

    @ApiModelProperty("英文(美式)")
    @TableField("en_us")
    private String enUs;

    @ApiModelProperty("状态: 1.可用;2.禁用")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;


}
